package com.shelpe.services.simbasync.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("authserver")
@RequestMapping(value="/taobao")
public interface AuthService {
	
	@RequestMapping(method = RequestMethod.GET, value = "/subwayTokens/{user_id}")
	String getSubwayTokenByUserId(@PathVariable("user_id") long userId);

}
